import config from "@/config"
import http from "@/utils/request"

export default {
  getOrderList: {
    url: `${config.API_URL}/cms/brand/order/list`,
    name: "获取订单列表",
    get: async function(params){
      return await http.get(this.url,params)
    }
  },
  orderDetail: {
    url: `${config.API_URL}/cms/brand/order/info/`,
    name: "获取订单详情",
    get: async function(params){
      return await http.get(this.url+params)
    }
  }
}